public class Update
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
num_of_iter
num_of_iter: Number of iterations the user would like the simulate
|
| Constructor and Description |
|---|
Update() |
| Modifier and Type | Method and Description |
|---|---|
static void |
globals(State s,
int week)
Globals: Updates weather and computes the resulting park success rate
|
static void |
graph()
Graph: Graphs the selected graph
|
static void |
outputs(State s)
Outputs: calculates the overall success rate and updates it in main
|
static void |
skiiers(State s,
int week)
Skiiers: Updates each individual's experience rate
|
static void |
variables(State s,
Details d)
Variables: Updates all the variables by recalling the state
|
public static int num_of_iter
public static void skiiers(State s, int week)
s - week - public static void globals(State s, int week)
s - the sweek - the weekpublic static void variables(State s, Details d)
s - d - public static void outputs(State s)
s - the spublic static void graph()